//
//  UIView+Chained.h
//  Express
//
//  Created by lhongl on 2025/10/11.
//  Copyright © 2025 QM. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (Chained)

/// 初始化
/// - Parameter block: 回调
+ (__kindof UIView *)mg_initWithMake:(void(^)(__kindof UIView *make))block;

/// 添加属性
/// - Parameter block: 回调
- (__kindof UIView *)mg_make:(void(^)(__kindof UIView *make))block;

/// 水平优先级
- (__kindof UIView *(^)(UILayoutPriority priority))mg_horizontalPriority;


/// 垂直优先级
- (__kindof UIView *(^)(UILayoutPriority priority))mg_verticalPriority;

@end

NS_ASSUME_NONNULL_END
